import React from 'react';
import {connect} from 'react-redux'
import {certifacteAction}  from '../../store/action'

 class Nav1 extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      
    }
  };
  
  
  render() {
  console.log(this.props.age);
  return (<div>{this.props.age}</div>)
  }
}

export default connect(state=>({age:state.age}))(Nav1)